package com.shangke.springbootkkyp.dao;

import com.shangke.springbootkkyp.dao.sqlProvidr.XxSsoSqlProvidr;
import org.apache.ibatis.annotations.Result;
import org.apache.ibatis.annotations.Results;
import org.apache.ibatis.annotations.SelectProvider;
import org.mapstruct.Mapper;

@Mapper
public interface XxSsoDao {
    @Results({
            @Result(property = "id",column = "id"),
            @Result(property = "xxl_sso_sessionid",column = "xxl_sso_sessionid"),
            @Result(property = "XxlSsoStatic",column = "static"),
    })
    @SelectProvider(type = XxSsoSqlProvidr.class,method = "findByXxlSsoSessionid")
    Integer findByXxlSsoSessionid(String XxlSsoSessionid);
}
